<?php

namespace ShowStop\TelevisionBundle\Entity;

use Symfony\Component\Form\Extension\Core\DataTransformer\IntegerToLocalizedStringTransformer;

use Doctrine\ORM\Mapping as ORM;

/**
 * ShowStop\TelevisionBundle\Entity\Ratings
 *
 * @ORM\Table(name="user_rating")
 * @ORM\Entity
 */
class Ratings
{
    /**
     * @var integer $rateid
     *
     * @ORM\Column(name="rateid", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $rateid;

    /**
     * @var integer $userid
     *
     * @ORM\Column(name="userid", type="integer")
     */
    private $userid;

    /**
     * @var integer seriesid
     *
     * @ORM\Column(name="seriesid", type="integer")
     */
    private $seriesid;

    /**
     * @var integer rating
     *
     * @ORM\Column(name="rating", type="integer")
     */
    private $rating;

    

    /**
     * Get rateid
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->rateidid;
    }

    /**
     * Set name
     *
     * @param integer userid
     */
    public function setUserId($u)
    {
        $this->userid = $u;
    }

    /**
     * Get userid
     *
     * @return Integer 
     */
    public function getUserId()
    {
        return $this->userid;
    }

    /**
     * Set seriesid
     *
     * @param Integer seriesid
     */
    public function setSeriesId($s)
    {
        $this->seriesid = $s;
    }

    /**
     * Get seriesid
     *
     * @return Integer 
     */
    public function getSeriesId()
    {
        return $this->seriesid;
    }

    /**
     * Set rating
     *
     * @param integer $rating
     */
    public function setRating($r)
    {
        $this->rating = $r;
    }

    /**
     * Get Rating
     *
     * @return integer 
     */
    public function getRating()
    {
        return $this->rating;
    }
}